package design.mode.chapter3.item1;

public abstract class TestCase {
    public void run(){
        if (doTest()){
            System.out.println("success");
        }else {
            System.out.println("error");
        }
    }

    public abstract boolean doTest();
}
